# print(1)
# yuwen = float(input("请输入语文成绩:"))
# shuxue = float(input("请输入数学成绩:"))
# english = float(input("请输入英语成绩:"))
# #print("总分为:%.2f" % sum,"平均分为: %.2f" % average)
# print('总分为:{},平均分为:{:.2f}'.format(yuwen + shuxue + english,(yuwen + shuxue + english) / 3))
# print()

# def fun():
#     for i in range(1, 11):
#         name = input("请输入男生的名字:")
#         girl = input("请输入女生的名字:")
#         if name == '田建河' and girl == "王*":
#             print(f"{name}❥(^_-){girl}")
#             print("祝愿他们白头偕老,幸福终生!!!")
#             break
#         else:
#             print("不是田建河天选女朋友,请重新输入!!!")
#             if i < 10:
#                 print(f"您已经猜错{i}次了!!!")
#     else:
#         print("您已经输错10次了,看来他只有孤独终生了。。。")
#
#
#
# if __name__ == '__main__':
#     fun()

from random import shuffle
def fun():
    lst = ['王一博','肖战', '李易峰','易烊千玺']
    shuffle(lst)
    for i in range(1,4):
        girl = input("请输入女嘉宾的姓名:")
        boy = input("请输入男生的姓名:")
        if girl == "1" and boy == lst[3]:
            print(girl,"的天选男朋友为:",boy)
            print(f"{boy}❥(^_-){girl}")
            print(f"{girl}的备选男朋友为:{lst.len(-1)}")
            print("祝愿他们白头偕老,幸福终生!!!")
            break
        else:
            print("您的输错有误,请重新输入!!!")
            if i < 3:
                print(f"您已经输错{i}次了,您还有{3 - i}次机会!!!")
    else:
        print(f"您的输入机会已经全部输入完，看来{girl}的男朋友还没有出现呢，哈哈哈哈哈!!!")


if __name__ == '__main__':
    fun()